<?php
# 微信公众号
return [
    [
        'name' => 'state',
        'title' => '是否开启',
        'component' => 'switches',
        'value' => 0,
        'extra'         => [
            'props' => [
                'activeValue' => 1,
                'inactiveValue' => 0,
                'activeText' => '开启',
                'inactiveText' => '关闭',
            ]
        ]
    ],
    [
        'name' => 'appid',
        'title' => 'appID',
        'component' => 'input',
        'value' => '',
        'extra'         => [
            'props'     => [
                'type'  => 'text',
            ],
            'prompt' => [
                'text' => '云信控制套-应用管理-我的应用-appID<a href="https://winnerlook.com/" target="_blank" style="color:var(--el-color-primary);">云信</a>'
            ],
        ]
    ],
    [
        'name' => 'token',
        'title' => 'TOKEN',
        'component' => 'input',
        'value' => '',
        'extra'         => [
            'props'     => [
                'type'  => 'text',
            ],
        ]
    ],
    [
        'name' => 'max_binding_time',
        'title' => '隐私号绑定关系有效时长',
        'component' => 'number',
        'value' => 600,
        'extra' => [
            'props' => [
                'min' => 0,
                'max' => 999999,
            ],
            'prompt' => [
                'text' => '为空表示绑定关系永久，单位:秒'
            ]
        ]
    ]
];
